package org.xserver.component.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * This annotation used for as http request route, it can head at class and
 * method, the value will be request route instead of className and methodName
 * 
 * @author idoldefine
 * @since 2014/11/04
 * 
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
public @interface Route {
	String value() default "";
}
